﻿using UnityEngine;
using System.Collections;

public class ObjManager : MonoBehaviour
{
    private static ObjManager _objManager;
    public Material[] materials;

    public static ObjManager objManager
    {
        get
        {
            if (_objManager==null)
            {
                _objManager= GameObject.Find("Object").GetComponent<ObjManager>();
            }
            return _objManager;
        }

        set
        {
            _objManager = value;
        }
    }

    // Use this for initialization
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {

    }
}
